package org.xbzheng.boot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
public class JdbcConfig {

    @ConfigurationProperties(prefix = "jdbc")
    @Bean
    public JdbcProperties jdbcProperties(){
        return new JdbcProperties();
    }
}
